<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>007事件的冒泡和捕获</title>
  <style>
    .parent {
      background-color: red;
      width: 600px;
      height: 300px;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .child {
      background-color: blue;
      width: 400px;
      height: 100px;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .son {
      background-color: green;
      width: 100px;
      height: 60px;
    }
  </style>
</head>
<body>
  <div class="parent">
    <div class="child">
      <div class="son"></div>
    </div>
  </div>
</body>
<script>
  window.addEventListener()
</script>
</html>